package com.sskj.hhhjys.bean;

import java.util.List;

public class PushTradeBean {

    /**
     * code : btc_usdt
     * name : BTC/USDT
     * timestamp : 1545459681668
     * data : [{"dt":1545459681347,"dc":"buy","amount":0.0054,"price":3821.83}]
     */

    private String code;
    private String name;
    private long timestamp;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * dt : 1545459681347
         * dc : buy
         * amount : 0.0054
         * price : 3821.83
         */

        private long dt;
        private String dc;
        private double amount;
        private double price;

        public long getDt() {
            return dt;
        }

        public void setDt(long dt) {
            this.dt = dt;
        }

        public String getDc() {
            return dc;
        }

        public void setDc(String dc) {
            this.dc = dc;
        }

        public double getAmount() {
            return amount;
        }

        public void setAmount(double amount) {
            this.amount = amount;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }
    }
}
